package com.xiaoluyy.rpc.properties;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "thrift.service.activity")
public class ThriftServerProperties {

    String name;

    private String transportFactoryName;

    private String protocolFactoryName;

    private String serverType;

    private String registerFlag;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTransportFactoryName() {
        return transportFactoryName;
    }

    public void setTransportFactoryName(String transportFactoryName) {
        this.transportFactoryName = transportFactoryName;
    }

    public String getProtocolFactoryName() {
        return protocolFactoryName;
    }

    public void setProtocolFactoryName(String protocolFactoryName) {
        this.protocolFactoryName = protocolFactoryName;
    }

    public String getServerType() {
        return serverType;
    }

    public void setServerType(String serverType) {
        this.serverType = serverType;
    }

    public String getRegisterFlag() {
        return registerFlag;
    }

    public void setRegisterFlag(String registerFlag) {
        this.registerFlag = registerFlag;
    }
}
